﻿namespace Usr.Api.Models.Entities;

/// <summary>
/// 部门
/// </summary>
[SugarTable("sys_organization")]
public class Organization : SqlSugarEntity
{
    [SugarColumn(ColumnName = "fullname")]
    public string FullName { get; set; } = string.Empty;
    [SugarColumn(ColumnName = "ordinal")]
    public int Ordinal { get; set; }
    [SugarColumn(ColumnName = "pid")]
    public long? Pid { get; set; }
    [SugarColumn(ColumnName = "pids")]
    public string Pids { get; set; } = string.Empty;
    [SugarColumn(ColumnName = "simplename")]
    public string SimpleName { get; set; } = string.Empty;
    [SugarColumn(ColumnName = "tips")]
    public string? Tips { get; set; } = string.Empty;
}